Integrand size = 22, antiderivative size = 149 \[ \int x^3 \left (a+b x^n+c x^{2 n}\right )^{3/2} \, dx=\frac {a x^4 \sqrt {a+b x^n+c x^{2 n}} \operatorname {AppellF1}\left (\frac {4}{n},-\frac {3}{2},-\frac {3}{2},\frac {4+n}{n},-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{4 \sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}}} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 149, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {1399, 524} \[ \int x^3 \left (a+b x^n+c x^{2 n}\right )^{3/2} \, dx=\frac {a x^4 \sqrt {a+b x^n+c x^{2 n}} \operatorname {AppellF1}\left (\frac {4}{n},-\frac {3}{2},-\frac {3}{2},\frac {n+4}{n},-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{4 \sqrt {\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}+1} \sqrt {\frac {2 c x^n}{\sqrt {b^2-4 a c}+b}+1}} \]
[In]
[Out]
Rule 524
Rule 1399
Rubi steps \begin{align*} \text {integral}& = \frac {\left (a \sqrt {a+b x^n+c x^{2 n}}\right ) \int x^3 \left (1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}\right )^{3/2} \left (1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )^{3/2} \, dx}{\sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}}} \\ & = \frac {a x^4 \sqrt {a+b x^n+c x^{2 n}} F_1\left (\frac {4}{n};-\frac {3}{2},-\frac {3}{2};\frac {4+n}{n};-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{4 \sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(469\) vs. \(2(149)=298\).
Time = 1.10 (sec) , antiderivative size = 469, normalized size of antiderivative = 3.15 \[ \int x^3 \left (a+b x^n+c x^{2 n}\right )^{3/2} \, dx=\frac {x^4 \left (2 (4+n) \left (3 b^2 n^2+32 a c \left (2+3 n+n^2\right )+2 b c \left (32+36 n+7 n^2\right ) x^n+8 c^2 \left (8+6 n+n^2\right ) x^{2 n}\right ) \left (a+x^n \left (b+c x^n\right )\right )-6 a n^2 (4+n) \left (b^2-2 a c (2+n)\right ) \sqrt {\frac {b-\sqrt {b^2-4 a c}+2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x^n}{b+\sqrt {b^2-4 a c}}} \operatorname {AppellF1}\left (\frac {4}{n},\frac {1}{2},\frac {1}{2},\frac {4+n}{n},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}},\frac {2 c x^n}{-b+\sqrt {b^2-4 a c}}\right )-3 b n^2 \left (b^2 (8+n)-4 a c (8+3 n)\right ) x^n \sqrt {\frac {b-\sqrt {b^2-4 a c}+2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x^n}{b+\sqrt {b^2-4 a c}}} \operatorname {AppellF1}\left (\frac {4+n}{n},\frac {1}{2},\frac {1}{2},2+\frac {4}{n},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}},\frac {2 c x^n}{-b+\sqrt {b^2-4 a c}}\right )\right )}{16 c (2+n) (4+n)^2 (4+3 n) \sqrt {a+x^n \left (b+c x^n\right )}} \]
[In]
[Out]
\[\int x^{3} \left (a +b \,x^{n}+c \,x^{2 n}\right )^{\frac {3}{2}}d x\]
[In]
[Out]
Exception generated. \[ \int x^3 \left (a+b x^n+c x^{2 n}\right )^{3/2} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
\[ \int x^3 \left (a+b x^n+c x^{2 n}\right )^{3/2} \, dx=\int x^{3} \left (a + b x^{n} + c x^{2 n}\right )^{\frac {3}{2}}\, dx \]
[In]
[Out]
\[ \int x^3 \left (a+b x^n+c x^{2 n}\right )^{3/2} \, dx=\int { {\left (c x^{2 \, n} + b x^{n} + a\right )}^{\frac {3}{2}} x^{3} \,d x } \]
[In]
[Out]
\[ \int x^3 \left (a+b x^n+c x^{2 n}\right )^{3/2} \, dx=\int { {\left (c x^{2 \, n} + b x^{n} + a\right )}^{\frac {3}{2}} x^{3} \,d x } \]
[In]
[Out]
Timed out. \[ \int x^3 \left (a+b x^n+c x^{2 n}\right )^{3/2} \, dx=\int x^3\,{\left (a+b\,x^n+c\,x^{2\,n}\right )}^{3/2} \,d x \]
[In]
[Out]